<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: xywen
  Date: 2017/5/24
  Time: 9:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="tabsPage.jsp"/>
<div>
    <table class="znxinxi">
        <tr>
            <th>流水号</th>
            <th>发生时间</th>
            <th>渠道</th>
            <th>充值金额</th>
            <th>充值状态</th>
        </tr>
        <c:forEach items="${rechargeLogs.iterator()}" var="obj">
            <tr>
                <td>${obj.id}</td>
                <td>${obj.createTime}</td>
                <td>平台</td>
                <td>${obj.money}</td>
                <td><c:choose><c:when test="${obj.status eq true}">充值完成</c:when><c:otherwise>充值未完成</c:otherwise></c:choose></td>
            </tr>
        </c:forEach>
    </table>
    <div id="pageContext" data-dsa="${rechargeLogs.number}" data-s="${rechargeLogs.totalPages}">
        <div> <span class="prevpage">上一页</span> <span class="current">1</span><a class="num" href="/capital/moneylog/page/2.html">2</a><a class="num" href="/capital/moneylog/page/3.html">3</a><a class="num" href="/capital/moneylog/page/4.html">4</a><a class="num" href="/capital/moneylog/page/5.html">5</a> <a class="next" href="/capital/moneylog/page/2.html">下一页</a> <a class="end" href="/capital/moneylog/page/40.html">40</a></div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("#rechargeLog").addClass("active");
    });
</script>